package com.gjw.gulimall.member.feign;

import com.gjw.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 郭经伟
 * @Date 2021/8/6
 * 这是一个声明式的远程调用
 **/
@FeignClient("gulimall-coupon")
public interface CouponFeignService {


    @GetMapping("/coupon/coupon/member/list")
    R memberCoupons();
}
